SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Alhassan Nageh
-- Create date: 12/8/2012
-- Description:	Insert New Participant to SmartTech
-- =============================================
CREATE PROCEDURE [dbo].[AddSmartTechParticipant] 
	-- Add the parameters for the stored procedure here
	@Name varchar(50) = null, 
	@Mobile varchar(12) = null,
	@Email varchar(50)=null,
	@SchoolId int = 0,
	@WorkshopId int = 0,
	@InterviewId int =0,
	@Online bit = 0

AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	insert into SmartTechParticipant values(@Name, @Mobile, @Email, @SchoolId, @WorkshopId, @InterviewId, CURRENT_TIMESTAMP, @Online, null);
END
GO
